[Feat] ChatInput 컴포넌트 제작#42
Merged
Hidden character warning
The head ref may contain hidden characters: "41-feat/ChatInput-\ucef4\ud3ec\ub10c\ud2b8-\uc81c\uc791"
Merged
Conversation
PR 검증 결과✅ TypeScript: 통과 |
KyeongJooni
reviewed
Jan 20, 2026
jwj0620gcu
approved these changes
Jan 20, 2026
jwj0620gcu
left a comment
Collaborator
There was a problem hiding this comment.
예빈님 수고하셨습니다!~!
커멘트 하나 달아놔서 확인 부탁드립니다!
Comment on lines
+49
to
+54
| const handleKeyDown: KeyboardEventHandler<HTMLInputElement> = (event) => { | ||
| if (event.key === 'Enter' && !event.nativeEvent.isComposing) { | ||
| event.preventDefault(); | ||
| handleSend(); | ||
| } | ||
| }; |
Collaborator
There was a problem hiding this comment.
현재 Enter로 바로 전송되는데, multiline 확장 시Enter / Shift+Enter를 따로 만드는 것도 좋을 것 같습니다.!
Collaborator
Author
There was a problem hiding this comment.
좋은 의견 감사합니다! 멀티라인 확장 가능성을 고려해서 input을 textarea로 변경하고 Enter = 전송, Shift + Enter = 줄바꿈으로 처리했습니다! 우선 최대 4줄까지만 표시되고 그 이상은 스크롤로 처리되도록 구현했습니다!
PR 검증 결과✅ TypeScript: 통과 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ 주요 변경사항
📝 작업 상세 내용
✅ 체크리스트
Close #번호추가📸 스크린샷 (선택)
2026-01-21.22.20.01.mov
🔍 기타 참고사항
🔗 관련 이슈